package com.yh.correct.dao;

import java.util.List;
import java.util.Map;

import com.yh.correct.model.Accomplice;

/**
 * 入矫人员同案犯表dao接口
 * 
 * @author 王卫
 *
 */
public interface IAccompliceMapper {
	/**
	 * 查询单个入矫人员同案犯信息
	 */
	List<Accomplice> getAccomplice(int accomplice) throws Exception;

	/**
	 * 增加入矫人员同案犯信息
	 */
	int addAccomplice(Accomplice accomplice) throws Exception;

	/**
	 * 删除入矫人员同案犯信息
	 */
	int delAccomplice(int accomplice) throws Exception;

	/**
	 * 修改入矫人员同案犯信息
	 */
	int editAccomplice(Accomplice accomplice) throws Exception;
	/**
	 * 查询所有
	 */
	List<Accomplice> getAllAccomplice() throws Exception;
	/**
	 * 模糊查询入矫人员同案犯信息列表
	 */
	List<Object> getLikeAccomplice(Map<String, Object> accomplice) throws Exception;

	/**
	 * 模糊查询入矫人员同案犯信息数量
	 */
	Integer getLikerAccomplicecount(Map<String, Object> accomplice) throws Exception;
}
